home *** CD-ROM | disk | FTP | other *** search
/ World of Sound / World of Sound.iso / utils / misc / pc / hardware.doc < prev    next >
Encoding:
Text File  |  1994-01-01  |  12.8 KB  |  293 lines

  1.              MODPLAY  *********                            (C) Mark J Cox
  2.              MODPLAY  **                                        1990/1991
  3.              MODPLAY  *******                              
  4.              MODPLAY  **************   
  5.  
  6.              Amiga fourÄchannel sound module player for PC's
  7.              Hardware devices for great sound output!
  8.  
  9.  
  10.     I. CONTENTS
  11.     ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  12.  
  13.     How to make:
  14.                 Mono output from a parallel port for about 5 pounds
  15.                 Mono output from a parallel port for around 1 pound
  16.                 Stereo from one parallel port for about 12 pounds
  17.         A +5v power supply
  18.         A 22W amplifier
  19.  
  20.     This document has been supplied with MODPLAY or MODRES and the
  21.     license agreement attached to the MODPLAY documentation applies
  22.     to this file.
  23.  
  24.  
  25.     I. INTRODUCTION
  26.     ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  27.  
  28.     MODPLAY will play modules through the PC Speaker as mentioned above, via
  29.     an D to A converter on any of the three possible parallel ports, in stereo
  30.     if you have an D to A converter on both LPT1 and LPT2 (this sounds really
  31.     good) and also through a special board that plays stereo from one
  32.     printer port ("stereoÄonÄ1")
  33.  
  34.     1. HOW TO MAKE A D/A CONVERTER FOR FIVE POUNDS
  35.     ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  36.  
  37.     A simple circuit for HiFi quality sound needs only a few components (and
  38.     this circuit will work with other software).   It even sounds better than
  39.     a Sound Blaster for sampled output!
  40.  
  41.     You need:
  42.  
  43.     IC1 a ZN426E (about 3 pounds) (Ferranti or Plessey are UK manufacturers)
  44.  
  45.     C1 a 10micro-farad electrolytic capacitor (10V or greater)
  46.  
  47.     C2 a 4.7micro-farad electrolytic capacitor (10V or greater)
  48.  
  49.     R1 a 380ohm resistor (5%, 1/8W)
  50.  
  51.     CON1 a phono socket for connecting a lead to your amplifier
  52.  
  53.     CON2 a 25 way male D-type connector for your parrallel port
  54.  
  55.     A bit of 10 way cable - or 10 short wires.
  56.  
  57.     A +5v supply
  58.  
  59.                                Zn426e    +5V
  60.     D-type pin no  \          ÚÄÄÄÄÄÄÄÄ¿  ³  
  61.                   (2)  D0  ÄÄÄ´9     14ÃÄÄ´
  62.                   (3)  D1  ÄÄÄ´10      ³ ÚÁ¿ 
  63.                   (4)  D2  ÄÄÄ´11      ³ ³ ³ 390ê
  64.                   (5)  D3  ÄÄÄ´12      ³ ÀÂÙ
  65.                   (6)  D4  ÄÄÄ´13     5ÃÄÄ´
  66.                   (7)  D5  ÄÄÄ´1      6ÃÄÄ´       +
  67.                   (8)  D6  ÄÄÄ´2      4ÃÄijÄÄÄÄÄÄÄÄ´ÛÄÄÄÄ> TO AMPLIFIER
  68.                   (9)  D7  ÄÄÄ´3   7   ³  ³        10æF  
  69.                               ÀÄÄÄÄÂÄÄÄÙ +Ï        (may not be needed)
  70.                                    ³ 4.7æFÛ  
  71.                                    ³      ³  
  72.                   (25) GND ÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄ GND
  73.                                    
  74.  
  75.     2. USING A DIFFERENT DAC
  76.     ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  77.  
  78.     Lots of people have found that they cannot get the ZN* chips outside
  79.     the UK - so heres a circuit that will do the same as above..
  80.     Use a DAC0800 or DAC0801 or DAC0803 from National Semiconductors...
  81.  
  82.                                DAC 080x   
  83.    Parallel Port Pin          ÚÄÄÄÄÄÄÄÄ¿0.01æF  0.1æF
  84.                   (2)  D0  ÄÄÄ´12    16ÃÄÄ´ÛÄÄÄÄ´ÛÄÄÄÄÄÄÂÄÄÄ GND 
  85.                   (3)  D1  ÄÄÄ´11      ³                ³
  86.                   (4)  D2  ÄÄÄ´10    15ÃÄÄÄÄÄÄÄÄÄÛÛÛÛÛÛÄÙ5kê 
  87.                   (5)  D3  ÄÄÄ´9       ³                 
  88.                   (6)  D4  ÄÄÄ´8     14ÃÄÄÄÄÄÄÄÄÄÛÛÛÛÛÛÄ¿5kê 
  89.                   (7)  D5  ÄÄÄ´7     13ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
  90.                   (8)  D6  ÄÄÄ´6      2ÃÄÄ´ÛÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄ +5V
  91.                   (9)  D7  ÄÄÄ´5 3 1  4ÃÄÄÄÄÄÄÄÄÄÄ´ÛÄÄÄÄ> TO AMPLIFIER
  92.                               ÀÄÄÂÄÂÄÄÄÙ0.1æF    + 10æF  
  93.                                  ÀÄ´             (may not be needed)
  94.                                    ³        
  95.                   (25) GND ÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ GND
  96.  
  97.     The 0.01uF and 2x 0.1uF   capacitors are Ceramic.  Resistor values
  98.     not critical
  99.      
  100.  
  101.     2. GETTING A +5V POWER SUPPLY
  102.     ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  103.  
  104.     Catalogues such as MAPLIN (uk) provide simple circuits for obtaining
  105.     a +5v power supply (it only has to be 100mA maximum).  Alternatively
  106.     you could tap +5v off the keyboard connector or use 3 1.5volt
  107.     batteries (or even 4 1.5volt batteries with two diodes in series to
  108.     drop the voltage).  In fact, anything that produces a voltage in the
  109.     range 4.5 Ä 5.5 volts. (in fact you can even tap +5v from the game
  110.     port).  Don't forget to connect the 0v of your power supply to the GND
  111.     rail shown.
  112.  
  113.     Heres a simple circuit for +5v from mains.  Mains voltage is lethal
  114.     so always get a qualified person to make this if you are unsure.  Make
  115.     certain that the mains voltage is completely isolated from the computer
  116.     side and that it is impossible to touch - If you don't want to take the
  117.     risk then don't make this circuit.
  118.  
  119.            ÚÄÄÄÄÄÄÄÄÄÄÄ¿     ÷ÚÄÄÄ¿+                  ÚÄÄÄÄÄÄ¿
  120.            ³           ³      ³ B ÃÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄ´ 7805 ÃÄÄÄÄÂÄÄÄÄÄÄ +5V
  121.     ÄÄÄÄÄÄÄ´Step down  ÃÄÄÄÄÄÄ´ R ³     ³+      ³     ÀÄÄÂÄÄÄÙ    ³+
  122.     Mains  ³transformer³ 6V   ³ I ³    ÍØÍ C1  ÍØÍ C2    ³       ÍØÍ C3
  123.            ³to 6VAC    ³ AC   ³ D ³     ³       ³        ³        ³
  124.     ÄÄÄÄÄÄÄ´           ÃÄÄÄÄÄÄ´ G ³     ³       ³        ³        ³
  125.            ³           ³      ³ E ÃÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄ 0V
  126.            ÀÄÄÄÄÄÄÄÄÄÄÄÙ     ÷ÀÄÄÄÙ-
  127.  
  128.     C1     1000 æF electrolytic capacitor            (Circuit from Kenneth
  129.     C2     0.1 æF  ceramic capactitor                 Aaron, Israel)
  130.     C3     100 æF  electrolytic capacitor
  131.     BRIDGE any diode bridge
  132.  
  133.  
  134.     3. HOW TO MAKE AN EVEN CHEAPER D/A
  135.     ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  136.  
  137.     For the price of 20 1% resistors and a plug, with no power supply
  138.     needed you can make a D/A converter that sounds close to the IC
  139.     one above (it seems only the UK can get a Plessey ZN426E)
  140.  
  141.     You need one plug for your amp, one for your parallel port and
  142.     9 20k and 9 10K resistors
  143.     Use 1% resistors if possible Ä and 20k sound much better than 22k
  144.  
  145.           Printer Port:
  146.  
  147.           signal   pin        20k   20k
  148.           D0       2      >ÄÄݰ°ÄÂݰ°ÄÄ0v
  149.                               20k ° 10k
  150.           D1       3      >ÄÄݰ°Ä´
  151.                               20k ° 10k
  152.           D2       4      >ÄÄݰ°Ä´
  153.                               20k ° 10k
  154.           D3       5      >ÄÄݰ°Ä´
  155.                               20k ° 10k
  156.           D4       6      >ÄÄݰ°Ä´
  157.                               20k ° 10k
  158.           D5       7      >ÄÄݰ°Ä´
  159.                               20k ° 10k
  160.           D6       8      >ÄÄݰ°Ä´
  161.                               20k ° 10k
  162.           D7       9      >ÄÄݰ°Ä´
  163.                               20k ° 10k  100nF
  164.                                   ÃÄÄÄÄÄÄ´ÛÄÄÄÄ> TO AMPLIFIER
  165.                                   ° 10k
  166.           GND      20     >ÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄ>
  167.                                   0v
  168.           
  169.      Thanks to Harry Stox for the above circuit.  Again, make sure all
  170.      the 0v lines are connected together.  The 100nF capacitor may not
  171.      be needed, try removing it if this circuit sounds poor.
  172.  
  173.  
  174.  
  175.     4. STEREO-ON-1 BOARD
  176.     ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  177.  
  178.     It is possible to play in stereo with only one parallel port (MODPLAY
  179.     version 2.00 onwards) using the circuit below.  MODPLAY will
  180.     automatically detect this circuit if it is present and work out what
  181.     address it is at Ä so you can plug it into any of your parallel ports. 
  182.     MODPLAY needs no further options and will default to playing through
  183.     this device.  The +5v supply can be  anywhere between 4.5 and 5.5 volts
  184.     so it could be run from three 1.5v  batteries. (Or from four
  185.     rechargable batteries as these are only 1.2v) 
  186.  
  187.     * Stereo-on-1 works from MODPLAY 2.03 onwards where it did not in 2.00 *
  188.  
  189.     You can use your stereo-on-1 board with other programs that require
  190.     a single D/A on the port as follows:
  191.  
  192.     Find out what address your port is at (LPT1 = 0378, LPT2 = 0278) and
  193.     add 2 (LPT1 = 037A, LPT2 = 027A).  Go into DEBUG and type
  194.     o 37a,0       (replacing 37a with the port address)
  195.     q
  196.     Then all sound directed to the parallel port will come out of both
  197.     channels. 
  198.  
  199.                                 ZN428
  200.                                 ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿         390ê
  201.               ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´11           6ÃÄÂÄÄÄÄÂı±±±±ÄÄ+5v
  202.               ³ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´12           7ÃÄÙ    ³ 
  203.               ³ ³ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄ´13           3ÃNC    ³      
  204.               ³ ³ ³ ÚÄÄÄÄÄÄÄÄÄÄÄ´14            ³      ³  + 10æF
  205.               ³ ³ ³ ³ ÚÄÄÄÄÄÄÄÄÄ´15           5ÃÄÄÄÄÄijÄÄĶÃÄÄÄÄÄ> Left out
  206.               ³ ³ ³ ³ ³ ÚÄÄÄÄÄÄÄ´16            ³      ³     0vÄÄÄ>
  207.       20 >Ä0v ³ ³ ³ ³ ³ ³ ÚÄÄÄÄÄ´1           10ÃÄÄ+5v ³ 
  208.               ³ ³ ³ ³ ³ ³ ³ ÚÄÄÄ´2            9ÃÄÂÄ0v ³      
  209.       14 >ÄÄÄijijijijijijijijÄÄÄ´4            8ÃÄÙ    ³    
  210.               ³ ³ ³ ³ ³ ³ ³ ³   ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ      ³    
  211.       11 >ÄÄÄÄ´ ³ ³ ³ ³ ³ ³ ³   ZN428                 ³  + 1æF    
  212.               ³ ³ ³ ³ ³ ³ ³ ³   ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿      ÃÄÄĶÃÄ0v
  213.        9 >ÄÄÄÄÁijijijijijijijÄÄÄ´11 D7   VRIN 6ÃÄÄÄÄÄÄÙ
  214.        8 >ÄÄÄÄÄÄÁijijijijijijÄÄÄ´12 D6  VROUT 7àNC
  215.        7 >ÄÄÄÄÄÄÄÄÁijijijijijÄÄÄ´13 D5     NC 3àNC     
  216.        6 >ÄÄÄÄÄÄÄÄÄÄÁijijijijÄÄÄ´14 D4         ³        + 10æF
  217.        5 >ÄÄÄÄÄÄÄÄÄÄÄÄÁijijijÄÄÄ´15 D3    OUT 5ÃÄÄÄÄÄÄÄÄĶÃÄÄÄÄÄ> Right out
  218.        4 >ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁijijÄÄÄ´16 D2         ³           0vÄÄÄ>
  219.        3 >ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁijÄÄÄ´1 D1     +V 10ÃÄÄ+5v    
  220.        2 >ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄ´2 D0     0v  9ÃÄÂ0v
  221.        1 >ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´4 !EN    0v  8ÃÄÙ
  222.       25 pin male D connector   ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ 
  223.  
  224.  
  225.       Notes:
  226.  
  227.       Make sure all the 0v lines are connected together and connected to the
  228.       0v line of your power source.  Also, make sure the +5v lines are 
  229.       connected together.  The lines marked 'NC' do not need to be connected.  
  230.  
  231.       If a ZN428 is not available, any D/A with input latches will work -
  232.       the D/A should latch the data bus when pin 4 (!EN) is low.
  233.  
  234.       Ä³Ä = No connection, ÄÅÄ = joined
  235.  
  236.       The above circuit (Stereo-on-1) is (C) Mark J Cox 1991, 29 Lundie Close
  237.       Stenson Fields, Derby DE2 3AN; and is supplied for personal use only.  
  238.       For any other use, please contact the author at the address above. If 
  239.       this circuit is abstracted or incorporated into any other document or
  240.       circuit then that document or documentation supplied with that circuit
  241.       must contain this paragraph of text.  Any commercial use where not 
  242.       agreed by written contract with the author (Mark J Cox) is prohibited.
  243.  
  244.  
  245.      13. STEREO AMPLIFIER
  246.      ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  247.  
  248.      For those of you who have built a stereo DAC and haven't enough
  249.      inputs to your Amplifier - Kenneth Aaron has supplied this
  250.      circuit which is designed to give a high power (11W per channel)
  251.      high quality, low interference, single rail supply amplifier!
  252.  
  253.       Enable
  254.      >ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄ¿   ÚÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ +12v
  255.                     ³+       ³   ³    ³
  256.                    ÍØÍ 10æFÚÄÁÄÄÄÁÄÄÄÄÁÄÄÄÄÄ¿
  257.            0v ÄÄÄÄÄÄÙ      ³ 7   13   3    1ÃÄÄÄÄÄÄÄÄÄÄÄÄ Left
  258.       Left     470nF    ÚÄÄ´4              2ÃÄÄÄÄÄÄÄÄÄÄÄÄ Speaker
  259.      >ÄÄÄÄÄÄÄÄÄ×ÄÄÄÄÄÄÄÄ´  ³                ³
  260.                         ÀÄÄ´5   TDA 7370  14ÃÄÄÄÄÄÄÄÄÄÄÄÄ Right
  261.       Right    470nF    ÚÄÄ´11            15ÃÄÄÄÄÄÄÄÄÄÄÄÄ Speaker
  262.      >ÄÄÄÄÄÄÄÄÄ×ÄÄÄÄÄÄÄÄ´  ³                ³
  263.                         ÀÄÄ´12              ³
  264.                     +ÚÄÄÄÄÄ´6    8   9    10ÃÄNC
  265.                47æF ÍØÍ    ÀÄÄÄÄÄÂÄÄÄÂÄÄÄÄÄÄÙ
  266.                      ³           ³   ³
  267.                      ÀÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ 0v
  268.  
  269.      Make sure that 0v of the +12v supply is connected to all the 0v
  270.      connections on the main circuit.   The enable line has to be tied
  271.      to +12v to 'switch on' the amp
  272.  
  273.  
  274.      14. AUTHOR
  275.      ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  276.  
  277.      Before June 1992:
  278.      ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  279.      Mark J Cox                 Electronic Mail:
  280.      17 Kirkburn Place                   m.j.h.cox@bradford.ac.uk
  281.      Bradford                    
  282.      W. Yorks, UK               If that fails - try:
  283.      BD7 2BZ                             bc732@cleveland.freenet.edu
  284.                                
  285.      After June 1992:
  286.      ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  287.      29 Lundie Close               Check the latest version out!
  288.      Stenson Fields                For a Bradford Address.... after
  289.      Derby, UK                     June!
  290.      DE2 3AN                   
  291.  
  292.  
  293.